#version 460
#define GLSLIFY 1

layout(location = 1) in VS_FS_VERTEX {
	vec4	vColor;
	vec3	vUV_Offset;
};

layout(location=0) out vec4 outColor;

layout(binding = 10) uniform sampler2DArray tex;

void main(void){
	outColor = vec4(vColor.rgb, texelFetch(tex, ivec3(vUV_Offset), 0).r * 1.0);
	//outColor = vec4(vColor.rgb,1);
	//outColor.x = vUV_Offset.x;
	//outColor.y = vUV_Offset.y;
	//outColor = vec4(1,1,1,1);
}

 